//
//  PKbasisNavigationController.m
//  PantaKill
//
//  Created by 湛凯杰 on 16/7/28.
//  Copyright © 2016年 湛凯杰. All rights reserved.
//

#import "PKbasisNavigationController.h"
#import "CFGradientLabel.h"
@interface PKbasisNavigationController ()

@end

@implementation PKbasisNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.navigationBar.barTintColor=MAIN_BARCOLOR;
//    ;
//    NSDictionary * dict=[NSDictionary dictionaryWithObject:MAIN_TITLECOLOR forKey:UITextAttributeTextColor];
//    self.navigationBar.titleTextAttributes=dict;
    
    [[UINavigationBar appearance]setBackgroundImage:[UIImage imageNamed:@"nav_bar_bg_for_seven"] forBarMetrics:UIBarMetricsDefault];
    [[UINavigationBar appearance]setTitleTextAttributes:@{NSForegroundColorAttributeName:MAIN_TITLECOLOR,NSFontAttributeName:[UIFont boldSystemFontOfSize:21]}];
    [self.navigationBar setTintColor:MAIN_TITLECOLOR];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
